package behavior.command;

/**
 * @author dali
 * @date 2021-07-22 17:08
 * @Description
 */

public class DanceCommand implements Command{
    private ARobotReceiver receiver;

    public DanceCommand() {
        receiver = new ARobotReceiver();
    }
    @Override
    public void execute() {
        receiver.dance();
    }
}
